/*
 * Copyright (c) 2016 zhangcm. All Rights Reserved.
 */
package com.jnzc.ocr.rest.app.shop.model.common;

import com.jnzc.ocr.common.consts.RegexpConsts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

/**
 * @author zhangcm
 * @version 1.0, 2017/8/27
 */
@ApiModel(description = "注册参数")
public class CommonUserRegisterParamModel {

    @ApiModelProperty(value = "店铺类型(1: 单店直管型)", required = true, allowableValues = "1")
    private Integer shopType;
    @ApiModelProperty(value = "店铺名称", required = true, allowableValues = "range[1, 20]")
    private String shopName;
    @ApiModelProperty(value = "省")
    private String provinceName;
    @ApiModelProperty(value = "省编号")
    private String provinceCode;
    @ApiModelProperty(value = "市")
    private String cityName;
    @ApiModelProperty(value = "市编号")
    private String cityCode;
    @ApiModelProperty(value = "手机号", required = true)
    private String mobile;
    @ApiModelProperty(value = "密码", required = true, allowableValues = "range[6, 18]")
    private String password;
    @ApiModelProperty(value = "验证码", required = true)
    private String captcha;

    public Integer getShopType() {
        return shopType;
    }

    public void setShopType(Integer shopType) {
        this.shopType = shopType;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }
}
